function Camera(){
	this.camera = null;
	this.angle=45;
	this.x=0;
	this.y=0;
	this.z=0;
	this.target=null;
}
Camera.prototype={
		constructor : Camera,
		init : function(x,y,z,target){
			this.target=target;
			this.x=x;
			this.y=y;
			this.z=z;
			this.camera = new THREE.PerspectiveCamera(this.angle, window.innerWidth / window.innerHeight, 1, 10000 );
			this.update();
		},
		update: function(){
			this.camera.position.x =this.x;
			this.camera.position.y =this.y;
			this.camera.position.z =this.z;
            this.camera.lookAt(this.target);
		}
};